#ifndef SENSORSETTING_H
#define SENSORSETTING_H

#include <QMainWindow>
#include "sensordata.h"
#include <map>

namespace Ui {
class SensorSetting;
}

class SensorSetting : public QMainWindow
{
    Q_OBJECT

public:
    explicit SensorSetting(QWidget *parent = nullptr);
    ~SensorSetting();
    std::map<QString, SensorData*>* SensorMap = new std::map<QString, SensorData*>();
    void ShowEquiInf();
    void AddEquiToMap(QString key, SensorData* sen);
    SensorData* GetEuqiInf(QString key);

private slots:
    void on_actionSetting_triggered();

    void on_actionShhow_triggered();

    void on_AddBut_clicked();

    void on_SelectEquiBut_clicked();

private:
    Ui::SensorSetting *ui;
};

#endif // SENSORSETTING_H
